<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

Class Referensi  extends CI_Controller{
    
    function __construct()
	{
	    parent::__construct();
		
	    $this->load->database();
	    $this->load->helper('url');		
	    $this->load->library('grocery_CRUD');	
        }
	
    function _example_output($output = null)
	{
            $this->load->view('dashboard',$output);
	}
        
    function index()
	{
		$this->_example_output((object)array('output' => '' , 'js_files' => array() , 'css_files' => array()));
	}
        
    function agama()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_agama');
            $crud->columns('KD_AGAMA','NM_AGAMA','KD_PENDATAAN');
            $crud->display_as('KD_AGAMA','Kode')
                    ->display_as('NM_AGAMA','Nama Agama')
                    ->display_as('KD_PENDATAAN','Kode Pendataan');
            $crud->set_subject('Agama');
            $output = $crud->render();
            $this->_example_output($output);
        }
        
    function agenda_kbm()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_agenda_kbm');
            $crud->columns('ID_AGENDA_KBM','NM_AGENDA_KBM','USERNAME','TANGGAL_AKSES');
            $crud->set_subject('Agenda KBM');
            $output = $crud->render();
            $this->_example_output($output);
        }
    
    function akreditasi()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_akreditasi');
            $crud->columns('KD_AKREDITASI','NM_AKREDITASI','SLTP','PMU','PMK');
            $crud->display_as('KD_AKREDITASI','Kode')
                    ->display_as('NM_AKREDITASI','Nama Akreditasi');
            $crud->set_subject('Akreditasi');
            $output = $crud->render();
            $this->_example_output($output);
        }
        
    function alat_pend()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_alat_pendidikan');
            $crud->columns('KD_ALAT_PENDIDIKAN','NM_ALAT_PENDIDIKAN','SLTP','PMU','PMK');
            $crud->set_subject('Alat Pendidikan');
            $crud->display_as('KD_ALAT_PENDIDIKAN', 'Kode Alat')
                    ->display_as('NM_ALAT_PENDIDIKAN','Nama Alat');
            $output = $crud->render();
            $this->_example_output($output);
        }
        
    function aliran_dana()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_aliran_dana');
            $crud->columns('KD_ALIRAN_DANA','NM_ALIRAN_DANA','SLTP','PMU','PMK');
            $crud->display_as('KD_ALIRAN_DANA','Kode')
                    ->display_as('NM_ALIRAN_DANA','Nama Aliran Dana');
            $crud->set_subject('Aliran Dana');
            $output = $crud->render();
            $this->_example_output($output);         
        }
        
    function asal_koleksi()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_asal_koleksi');
            $crud->columns('ID_ASAL_KOLEKSI','NM_ASAL_KOLEKSI');
            $crud->display_as('ID_ASAL_KOLEKSI','ID')
                    ->display_as('NM_ASAL_KOLEKSI','Asal Koleksi');
            $crud->set_subject('Asal Koleksi');
            $output = $crud->render();
            $this->_example_output($output);
        }
    
    function asal_sekolah()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_asal_sekolah');
            $crud->set_subject('Asal Sekolah');
            $crud->columns('ASAL_SMP','KD_JENIS_SEKOLAH','KD_STATUS_SEKOLAH','NM_SEKOLAH','ALAMAT_SEKOLAH','ID_PROPINSI','ID_KABUPATEN','id_kecamatan','NO_TELP','USERNAME','TANGGAL_AKSES');
            $crud->display_as('KD_STATUS_SEKOLAH','Status Sekolah');
            $crud->set_relation('KD_JENIS_SEKOLAH','r_jenis_sekolah','NM_JENIS_SEKOLAH');
            $crud->set_relation('USERNAME','__auth','USERNAME')
                    ->set_relation('ID_PROPINSI','r_propinsi','NM_PROPINSI')
                    ->set_relation('ID_KABUPATEN','r_kabupaten','NM_KABUPATEN')
                    ->set_relation('id_kecamatan','r_kecamatan','NM_KECAMATAN');
            $crud->field_type('KD_STATUS_SEKOLAH','dropdown',array('1'=>'Negeri','2'=>'Swasta'));
            $output = $crud->render();
            $this->_example_output($output);
        }
    
    function bantuan()
        {
            $crud = new grocery_CRUD();
            $crud->set_subject('Bantuan');
            $crud->set_table('r_bantuan');
            $crud->columns('KD_BANTUAN','NM_BANTUAN','SLTP','PMU','PMK');
            $crud->display_as('KD_BANTUAN','Kode Bantuan')
                    ->display_as('NM_BANTUAN','Nama Bantuan');
            $output = $crud->render();
            $this->_example_output($output);    
        }
        
    function bahasa()
        {
            $crud = new grocery_CRUD();
            $crud->set_subject('Bahasa');
            $crud->set_table('r_bahasa_bp');
            $crud->columns('KD_BAHASA_BP','ID_BAHASA_BP','NM_BAHASA_BP');
            $crud->display_as('KD_BAHASA_BP','Kode Bahasa')
                    ->display_as('ID_BAHASA_BP','ID Bahasa')
                    ->display_as('NM_BAHASA_BP','Nama Bahasa');
            $output = $crud->render();
            $this->_example_output($output);  
        }
        
    function beasiswa()
        {
            $crud = new grocery_CRUD();
            $crud->set_subject('Beasiswa');
            $crud->set_table('r_beasiswa');
            $crud->columns('KD_BEASISWA','NM_BEASISWA','SLTP','PMU','PMK','KD_PENDATAAN');
            $crud->display_as('KD_BEASISWA','Kode Beasiswa')
                    ->display_as('KD_PENDATAAN','Kode Pendataan')
                    ->display_as('NM_BEASISWA','Nama Beasiswa');
            $output = $crud->render();
            $this->_example_output($output);  
        }
        
    function bentuk_instrumen()
        {
            $crud = new grocery_CRUD();
            $crud->set_subject('Bentuk Instrumen');
            $crud->set_table('r_bentuk_instrumen');
            $crud->columns('ID_BENTUK_INSTRUMEN','NM_BENTUK_INSTRUMEN','USERNAME','TANGGAL_AKSES');
            $crud->display_as('ID_BENTUK_INSTRUMEN','Id')
                    ->display_as('NM_BENTUK_INSTRUMEN','Nama Bentuk Instrumen')
                    ->display_as('USERNAME','Username')
                    ->display_as('TANGGAL_AKSES','Tanggal Akses');
            $output = $crud->render();
            $this->_example_output($output);  
        }
        
    function aturan_peminjaman()
        {
            $crud = new grocery_CRUD();
            $crud->set_subject('Aturan Peminjaman');
            $crud->set_table('r_aturan_peminjaman');
            $crud->columns('NM_ATURAN_PEMINJAMAN','JML_PEMINJAMAN','JML_RESERVASI','KALI_PERPANJANGAN');
            $crud->display_as('NM_ATURAN PEMINJAMAN','Nama Aturan')
                    ->display_as('JML_RESERVASI','Jml Reservasi')
                    ->display_as('KALI_PERPANJANGAN','Kali Perpanjangan')
                    ->display_as('JML_PEMINJAMAN','Jumlah Peminjaman');
            $output = $crud->render();
            $this->_example_output($output);  
        }
    
    function bentuk_media()
        {
            $crud = new grocery_CRUD();
            $crud->set_subject('Bentuk Media');
            $crud->set_table('r_bentuk_media');
            $crud->columns('ID_BENTUK_MEDIA','KD_BENTUK_MEDIA','NM_BENTUK_MEDIA');
            $crud->display_as('ID_BENTUK_MEDIA','Id')
                    ->display_as('KD_BENTUK_MEDIA','Kode Bentuk Media')
                    ->display_as('NM_BENTUK_MEDIA','Nama Bentuk Media');
            $output = $crud->render();
            $this->_example_output($output);  
        }
        
    function bentuk_sekolah()
        {
            $crud = new grocery_CRUD();
            $crud->set_subject('Bentuk Sekolah');
            $crud->set_table('r_bentuk_sekolah');
            $crud->columns('KD_BENTUK_SEKOLAH','NM_BENTUK_SEKOLAH','SLTP','PMU','PMK');
            $crud->display_as('KD_BENTUK_SEKOLA','Kode Bentuk Sekolah')
                    ->display_as('NM_BENTUK_SEKOLAH','Nama Bentuk Sekolah');
            $output = $crud->render();
            $this->_example_output($output);      
        }
    
    function daerah()
        {
            $crud = new grocery_CRUD();
            $crud->set_subject('Daerah');
            $crud->set_table('r_daerah');
            $crud->columns('KD_DAERAH','NM_DAERAH','SLTP','PMU','PMK');
            $crud->display_as('KD_DAERAH','Kode Daerah')
                    ->display_as('NM_DAERAH','Nama Daerah');
            $output = $crud->render();
            $this->_example_output($output);  
        }
        
    function daya_listrik()
        {
            $crud = new grocery_CRUD();
            $crud->set_subject('Daya Listrik');
            $crud->set_table('r_daya_listrik');
            $crud->columns('KD_DAYA_LISTRIK','NM_DAYA_LISTRIK','SLTP','PMU','PMK');
            $crud->display_as('KD_DAYA_LISTRIK','Kode Daya Listrik')
                    ->display_as('NM_DAYA_LISTRIK','Daya Listrik');
            $output = $crud->render();
            $this->_example_output($output);  
        }
	
    function ekstrakurikuler()
        {
            $crud = new grocery_CRUD();
            $crud->set_subject('Ekstrakurikuler');
            $crud->set_table('r_ekstrakurikuler');
            $crud->columns('ID_EKSTRAKURIKULER','NM_EKSTRAKURIKULER','USERNAME','TANGGAL_AKSES');
            $crud->display_as('ID_EKSTRAKURIKULER','ID')
                    ->display_as('NM_EKSTRAKURIKULER','Nama Ekstrakurikuler');
            $output = $crud->render();
            $this->_example_output($output);  
        }
	
    function gol_darah()
	{
	    $crud = new grocery_CRUD();
	    $crud->set_subject('Golongan Darah');
	    $crud->set_table('r_gol_darah');
	    $crud->columns('KD_GOL_DARAH','NM_GOL_DARAH','SLTP','PMU','PMK');
	    $crud->display_as('KD_GOL_DARAH','Kode')
		    ->display_as('NM_GOL_DARAH','Golongan Darah');
	    $output = $crud->render();
	    $this->_example_output($output);	    
	}
	
    function gol_kerja_ortu()
	{
	    $crud = new grocery_CRUD();
	    $crud->set_subject('Golongan Pekerjaan Orang Tua');
	    $crud->set_table('r_gol_pekerjaan_ortu');
	    $crud->columns('ID_GOL_PEKERJAAN_ORTU','KD_PEKERJAAN_ORTU');
	    $output = $crud->render();
	    $this->_example_output($output);	    
	}
	
    function hari()
	{
	    $crud = new grocery_CRUD();
	    
	    $crud->set_subject('Hari');
	    $crud->set_table('r_hari');
	    $crud->columns('KD_HARI','NM_HARI','STATUS_HARI','USERNAME','TANGGAL_AKSES');
	    $crud->display_as('KD_HARI','Hari')
		    ->display_as('NM_HARI','Nama Hari')
		    ->display_as('STATUS_HARI','Status')
		    ->display_as('USERNAME','Username')
		    ->display_as('TANGGAL_AKSES','Tanggal Akses');
	    $output = $crud->render();
	    $this->_example_output($output);
	}
	
    function jabatan_pegawai()
	{
	    $crud = new grocery_CRUD();
	    $crud->set_subject('Jabatan Pegawal');
	    $crud->set_table('r_jabatan_pegawai');
	    $crud->columns('KD_JABATAN_PEGAWAI','NM_JABATAN_PEGAWAI','SLTP','PMU','PMK');
	    $crud->display_as('KD_JABATAN_PEGAWAI','Kode')
		    ->display_as('NM_JABATAN_PEGAWAI','Nama Jabatan');
	    $output = $crud->render();
	    $this->_example_output($output);
	}
	
    function jam()
	{
	    $crud = new grocery_CRUD();
	    $crud->set_subject('Jam');
	    $crud->set_table('r_jam');
	    $crud->columns('ID_JAM','NM_JAM','KETERANGAN','USERNAME','TANGGAL_AKSES');
	    $crud->display_as('ID_JAM','Id')
		    ->display_as('NM_JAM','Jam')
		    ->display_as('KETERANGAN','Keterangan')
		    ->display_as('USERNAME','User')
		    ->display_as('TANGGAL_AKSES','Tanggal Akses');
	    $output = $crud->render();
	    $this->_example_output($output);
	}
	
    function jenis_bp()
	{
	    $crud = new grocery_CRUD();
	    $crud->set_subject('Jenis BP');
	    $crud->set_table('r_jenis_bp');
	    $crud->columns('KD_JENIS_BP','ID_JENIS_BP','NM_JENIS_BP');
	    $crud->display_as('KD_JENIS_BP','Kode')
		    ->display_as('ID_JENIS_BP','ID')
		    ->display_as('NM_JENIS_BP','Jenis BP');
	    $output = $crud->render();
	    $this->_example_output($output);
	}
	
    function jenis_buku_pegangan()
	{
	    $crud = new grocery_CRUD();
	    $crud->set_subject('Jenis Buku Pegangan');
	    $crud->set_table('r_jenis_buku_pegangan');
	    $crud->columns('KD_JENIS_BUKU_PEGANGAN','NM_JENIS_BUKU_PEGANGAN','SLTP','PMU','PMK');
	    $crud->display_as('KD_JENIS_BUKU_PEGANGAN','Kode')
		    ->display_as('NM_JENIS_BUKU_PEGANGAN','Jenis Buku Pegangan');
	    $output = $crud->render();
	    $this->_example_output($output);
	}
	
    function jenis_jumlah()
	{
	    $crud = new grocery_CRUD();
	    $crud->set_subject('Jenis Jumlah');
	    $crud->set_table('r_jenis_jumlah');
	    $crud->columns('KD_JENIS_JUMLAH','NM_JENIS_JUMLAH');
	    $crud->display_as('KD_JENIS_JUMLAH','Kode')
		    ->display_as('NM_JENIS_JUMLAH','Jenis Jumlah');
	    $output = $crud->render();
	    $this->_example_output($output);
	}
	
    function jenis_ketenagaan()
	{
	    $crud = new grocery_CRUD();
	    $crud->set_subject('Jenis Ketenagaan');
	    $crud->set_table('r_jenis_ketenagaan');
	    $crud->columns('KD_JENIS_KETENAGAAN','NM_JENIS_KETENAGAAN','SLTP','PMU','PMK');
	    $crud->display_as('KD_JENIS_KETENAGAAN','Kode')
		    ->display_as('NM_JENIS_KETENAGAAN','Jenis Ketenagaan');
	    $output = $crud->render();
	    $this->_example_output($output);
	}
	
    function jenis_ketunaan()
	{
	    $crud = new grocery_CRUD();
	    $crud->set_subject('Jenis Ketunaan');
	    $crud->set_table('r_jenis_ketunaan');
	    $crud->columns('KD_JENIS_KETUNAAN','NM_JENIS_KETUNAAN','KD_PENDATAAN');
	    $crud->display_as('KD_JENIS_KETUNAAN','Kode Jenis Ketunaan')
		    ->display_as('NM_JENIS_KETUNAAN','Jenis Ketunaan')
		    ->display_as('KD_PENDATAAN','Kode Pendataan');
	    $output = $crud->render();
	    $this->_example_output($output);
	}
	
    function jenis_ortu()
	{
	    $crud = new grocery_CRUD();
	    $crud->set_subject('Jenis ORTU');
	    $crud->set_table('r_jenis_ortu');
	    $crud->columns('KD_JENIS_ORTU','NM_JENIS_ORTU');
	    $crud->display_as('KD_JENIS_ORTU','Kode')
		    ->display_as('NM_JENIS_ORTU','Jenis Ortu');
	    $output = $crud->render();
	    $this->_example_output($output);
	}
        
    function jenis_pegawai()
        {
            $crud = new grocery_CRUD();
            $crud->set_subject('Jenis Pegawai');
            $crud->set_table('r_jenis_pegawai');
            $crud->columns('KD_JENIS_PEGAWAI','NM_JENIS_PEGAWAI','SLTP','PMU','PMK','KD_PENDATAAN');
            $crud->display_as('KD_JENIS_PEGAWAI','Kode Jenis Pegawai')
                    ->display_as('NM_JENIS_PEGAWAI','Nama Jenis Pegawai')
                    ->display_as('KD_PENDATAAN','Kode Pendataan');
            $output = $crud->render();
            $this->_example_output($output);
        }
        
    function jenis_penataran()
        {
            $crud = new grocery_CRUD();
            $crud->set_subject('Jenis Penataran');
            $crud->set_table('r_jenis_penataran');
            $crud->columns('KD_JENIS_PENATARAN','NM_JENIS_PENATARAN','SLTP','PMU','PMK');
            $crud->display_as('KD_JENIS_PENATARAN','Kode')
                    ->display_as('NM_JENIS_PENATARAN','Jenis Penataran');
            $output = $crud->render();
	    $this->_example_output($output);
        }
    
    function jenis_sekolah()
        {
            $crud = new grocery_CRUD();
            $crud->set_subject('Jenis Sekolah');
            $crud->set_table('r_jenis_sekolah');
            $crud->columns('KD_JENIS_SEKOLAH','NM_JENIS_SEKOLAH','SLTP','PMU','PMK');
            $crud->display_as('KD_JENIS_SEKOLAH','Kode')
                    ->display_as('NM_JENIS_SEKOLAH','Jenis Sekolah');
            $output = $crud->render();
	    $this->_example_output($output);
        }
    
    function jenis_tagihan()
        {
            $crud = new grocery_CRUD();
            $crud->set_subject('Jenis Tagihan');
            $crud->set_table('r_jenis_tagihan');
            $crud->columns('ID_JENIS_TAGIHAN','NM_JENIS_TAGIHAN','USERNAME','TANGGAL_AKSES');
            $crud->display_as('ID_JENIS_TAGIHAN','Id')
                    ->display_as('NM_JENIS_TAGIHAN','Jenis Tagihan')
                    ->display_as('TANGGAL_AKSES','Tanggal Akses');
            $output = $crud->render();
	    $this->_example_output($output);
        }
    function kabupaten()
        {
            $crud = new grocery_CRUD();
            $crud->set_subject('Kabupaten');
            $crud->set_table('r_kabupaten');
            $crud->columns('ID_KABUPATEN','NM_KABUPATEN','STATUS_KOTA','STATUS_PILIH');
            $crud->display_as('NM_KABUPATEN','Kabupaten')
                    ->display_as('STATUS_KOTA','Status Kota')
                    ->display_as('STATUS_PILIH','Status Pilih');
            $output = $crud->render();
	    $this->_example_output($output);
        }
    function kecamatan()
        {
            $crud = new grocery_CRUD();
            $crud->set_subject('Kecamatan');
            $crud->set_table('r_kecamatan');
            $crud->columns('ID_KECAMATAN','NM_KECAMATAN');
            $crud->display_as('ID_KECAMATAN','Id')
                    ->display_as('NM_KECAMATAN','Kecamatan');
            $output = $crud->render();
	    $this->_example_output($output);
        }
        
    function kala_terbit()
        {
            $crud = new grocery_CRUD();
            $crud->set_subject('Kala Terbit');
            $crud->set_table('r_kala_terbit');
            $crud->columns('ID_KALA_TERBIT','NM_KALA_TERBIT');
            $crud->display_as('ID_KALA_TERBIT','ID')
                    ->display_as('NM_KALA_TERBIT','Kala terbit');
            $output = $crud->render();
	    $this->_example_output($output);
        }
        
    function kel_hobi()
        {
            $crud = new grocery_CRUD();
            $crud->set_subject('Kelompok Hobi');
            $crud->set_table('r_kel_hobi');
            $crud->columns('KD_KEL_HOBI','NM_KEL_HOBI');
            $crud->display_as('KD_KEL_HOBI','Kode')
                    ->display_as('NM_KEL_HOBI','Kelompok Hobi');
            $output = $crud->render();
	    $this->_example_output($output);
        }
        
    function kel_mapel()
        {
            $crud = new grocery_CRUD();
            $crud->set_subject('Kelompok Mata Pelajaran');
            $crud->set_table('r_kel_mata_pelajaran');
            $crud->columns('KD_KEL_MATA_PELAJARAN','NM_KEL_MATA_PELAJARAN','STATUS_MAPEL','SLTP','PMU','PMK','SLTP_KEL','PMU_KEL','PMK_KEL');
            $crud->display_as('KD_KEL_MATA_PELAJARAN','Kode')
                    ->display_as('NM_KEL_MATA_PELAJARAN','Nama Mata Pelajaran')
                    ->display_as('STATUS_MAPEL','Status Mapel');
            $output = $crud->render();
	    $this->_example_output($output);
        }
        
    function kel_prodi()
        {
            $crud = new grocery_CRUD();
            $crud->set_subject('Kelompok Program Studi');
            $crud->set_table('r_kel_program_studi');
            $crud->columns('KD_KEL_PROGRAM_STUDI','NM_KEL_PROGRAM_STUDI','SLTP','PMU','PMK');
            $crud->display_as('KD_KEL_PROGRAM_STUDI','Kode')
                    ->display_as('NM_KEL_PROGRAM_STUDI');
            $output = $crud->render();
	    $this->_example_output($output);
        }
        
    function kel_yayasan()
        {
            $crud = new grocery_CRUD();
            $crud->set_subject('Kelompok Yayasan');
            $crud->set_table('r_kel_yayasan');
            $crud->columns('KD_KEL_YAYASAN','NM_KEL_YAYASAN','SLTP','PMU','PMK');
            $crud->display_as('KD_KEL_YAYASAN','Kode')
                    ->display_as('NM_KEL_YAYASAN','Nama Kelompok Yayasan');
            $output = $crud->render();
	    $this->_example_output($output);
        }
        
    function pemilik()
        {
            $crud = new grocery_CRUD();
            $crud->set_subject('Kepemilikan');
            $crud->set_table('r_kepemilikan');
            $crud->columns('KD_KEPEMILIKAN','NM_KEPEMILIKAN');
            $crud->display_as('KD_KEPEMILIKAN','Kode')
                    ->display_as('NM_KEPEMILIKAN','Nama Kepemilikan');
            $output = $crud->render();
	    $this->_example_output($output);
        }
        
    function kepribadian()
        {
            $crud = new grocery_CRUD();
            $crud->set_subject('Kepribadian');
            $crud->set_table('r_kepribadian');
            $crud->columns('KD_KEPRIBADIAN','NM_KEPRIBADIAN','STATUS_RAPOR');
            $crud->display_as('KD_KEPRIBADIAN','Kode')
                    ->display_as('NM_KEPRIBADIAN','Kepribadian')
                    ->display_as('STATUS_RAPOR');
            $output = $crud->render();
	    $this->_example_output($output);
        }
    
    function klasifikasi_bp()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_klasifikasi_bp');
            $crud->set_subject('Klasifikasi BP');
            $crud->columns('NO_DDC','ID_KLASIFIKASI_BP','BAHASAN','USERNAME','TANGGAL_AKSES');
            $output= $crud->render();
            $this->_example_output($output);
        }
        
    function klasifikasi_geografis()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_klasifikasi_geografis');
            $crud->set_subject('Klasifikasi Geografis');
            $crud->columns('KD_KLASIFIKASI_GEOGRAFIS','NM_KLASIFIKASI_GEOGRAFIS');
            $crud->display_as('KD_KLASIFIKASI_GEOGRAFIS','Kode')
                    ->display_as('NM_KLASIFIKASI_GEOGRAFIS','Nama Klasifikasi Geografis');
            $output= $crud->render();
            $this->_example_output($output);
        }
        
    function klasifikasi_sekolah()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_klasifikasi_sekolah');
            $crud->set_subject('Klasifikasi Sekolah');
            $crud->columns('KD_KLASIFIKASI_SEKOLAH','NM_KLASIFIKASI_SEKOLAH');
            $crud->display_as('KD_KLASIFIKASI_SEKOLAH','Kode')
                    ->display_as('NM_KLASIFIKASI_SEKOLAH','Nama Klasifikasi Sekolah');
            $output= $crud->render();
            $this->_example_output($output);
        }
        
    function kondisi_ruangan()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_kondisi_sekolah');
            $crud->set_subject('Kondisi Ruangan');
            $crud->columns('KD_KONDISI_RUANGAN','NM_KONDISI_RUANGAN');
            $crud->display_as('KD_KONDISI_RUANGAN','Kode')
                    ->display_as('NM_NAMA_KONDISI_RUANGAN','Nama Kondisi Ruangan');
            $output= $crud->render();
            $this->_example_output($output);
        }
        
    function kriteria_penentuan_skbm()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_kriteria_penentuan_skbm');
            $crud->set_subject('Kriteria Penentuan SKBM');
            $crud->columns('ID_KRITERIA','DESKRIPSI_KRITERIA');
            $crud->display_as('ID_KRITERIA','ID Kriteria')
                    ->display_as('DESKRIPSI_KRITERIA','Deskripsi');
            $output= $crud->render();
            $this->_example_output($output);
        }
    
    function kurikulum()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_kurikulum');
            $crud->set_subject('Kurikulum');
            $crud->columns('KD_KURIKULUM','NM_KURIKULUM','KETERANGAN');
            $crud->display_as('KD_KURIKULUM','Kode Kurikulum')
                    ->display_as('NM_KURIKULUM','Nama Kurikulum')
                    ->display_as('KETERANGAN','KETERANGAN');
            $output= $crud->render();
            $this->_example_output($output);
        }
    
    function list_pengarang()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_list_pengarang');
            $crud->set_subject('List Pengarang');
            $crud->columns('ID_LIST_PENGARANG','NM_LIST_PENGARANG');
            $crud->display_as('ID_LIST_PENGARANGA','Id')
                    ->display_as('NM_LIST_PENGARANG','Nama List Pengarang');
            $output= $crud->render();
            $this->_example_output($output);
        }
    
    function mata_anggaran()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_mata_anggaran');
            $crud->set_subject('Mata Anggaran');
            $crud->columns('KD_MATA_ANGGARAN','KD_MATA_ANGGARAN_SID','NM_MATA_ANGGARAN','KD_ALIRAN_DANA','STATUS_LEAF','STATUS_EKSPOR','STATUS_LISM','STATUS_AKTIF','USERNAME','TANGGAL_AKSES');
            $crud->set_relation('KD_ALIRAN_DANA','r_aliran_dana','NM_ALIRAN_DANA');
            $crud->set_relation('USERNAME','__auth','USERNAME');
            $crud->display_as('KD_MATA_ANGGARAN','Kode Mata Anggaran')
                    ->display_as('KD_MATA_ANGGARAN_SID','Kode Mata Anggaran SID')
                    ->display_as('KD_ALIRAN_DANA','KOde Aliran Dana')
                    ->display_as('STATUS LEAF','Status Leaf')
                    ->display_as('STATUS_EKSPOR','Status Ekspor')
                    ->display_as('STATUS_LISM','Status Lism')
                    ->display_as('STATUS_AKTIF','STATUS AKTIF')
                    ->display_as('USERNAME','Username')
                    ->display_as('TANGGAL_AKSES','Tanggal Akses');
            $output= $crud->render();
            $this->_example_output($output);
        }
    
    function mapel_diajarkan()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_mata_pelajaran_diajarkan');
            $crud->set_subject('Mata Pelajaran Yang Diajarkan');
            $crud->columns('KD_MATA_PELAJARAN_DIAJARKAN','NM_MATA_PELAJARAN_DIAJARKAN','KD_KEL_MATA_PELAJARAN','ORDER_LIST','ORDER_RAPOR','ORDER_STTB','ORDER_NEM','ORDER_LNS','SLTP','PMU','PMK','KD_PENDATAAN','USERNAME','TANGGAL_AKSES');
            $crud->set_relation('KD_KEL_MATA_PELAJARAN','r_kel_mata_pelajaran','NM_KEL_MATA_PELAJARAN');
            $crud->set_relation('USERNAME','__auth','USERNAME');
            $crud->display_as('KD_MATA_PELAJARAN_DIAJARKAN','Kode Mata Pelajaran')
                    ->display_as('NM_MATA_PELAJARAN_DIAJARKAN','Nama Mata Pelajaran')
                    ->display_as('KD_KEL_MATA_PELAJARAN','Kelompok Mata Pelajaran')
                    ->display_as('ORDER_LIST','Order List')
                    ->display_as('ORDER_RAPOR','Order Rapor')
                    ->display_as('ORDER_STTB','Order STTB')
                    ->display_as('ORDER_NEM','Order NEM')
                    ->display_as('ORDER_LNS','Order LNS')
                    ->display_as('KD_PENDATAAN','Kode Pendataan')
                    ->display_as('TANGGAL_AKSES','Tanggal Akses');
            $output= $crud->render();
            $this->_example_output($output);
        }
        
    function matpel_before()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_matpel_before');
            $crud->set_subject('MATPEL BEFORE');
            $crud->columns('KD_MATPEL_BEFORE','NM_MATPEL_BEFORE','STATUS_AKTIF');
            $crud->display_as('KD_MATPEL_BEFORE','Kode')
                    ->display_as('NM_MATPEL_BEFORE','Nama Matpel Before');
            $output= $crud->render();
            $this->_example_output($output);
        }
        
    function nilai_afektif()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_nilai_afektif');
            $crud->set_subject('Nilai Afektif');
            $crud->columns('ID_NILAI_AFEKTIF','NM_NILAI_AFEKTIF','USERNAME','TANGGAL_AKSES');
            $crud->set_relation('USERNAME','__auth','USERNAME');
            $crud->display_as('ID_NILAI_AFEKTIF','Id')
                    ->display_as('NM_NILAI_AFEKTIF','Nilai Afektif');
            $output= $crud->render();
            $this->_example_output($output);
        }
        
    function organisasi()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_organisasi');
            $crud->set_subject('Organisasi');
            $crud->columns('ID_ORGANISASI','NM_ORGANISASI');
            $crud->display_as('ID_ORGANISASI','Id')
                    ->display_as('NM_ORGANISASI','Nama Organisasi');
            $output= $crud->render();
            $this->_example_output($output);
        }
    
    function pangkat()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_pangkat');
            $crud->set_subject('Pangkat');
            $crud->columns('KD_PANGKAT','NM_PANGKAT','SLTP','PMU','PMK');
            $crud->display_as('KD_PANGKAT','Kode')
                        ->display_as('NM_PANGKAT','Nama Pangkat');
            $output= $crud->render();
            $this->_example_output($output);
        }
    
    function pekerjaan_ortu()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_pekerjaan_ortu');
            $crud->set_subject('Pekerjaan Orang Tua');
            $crud->columns('KD_PEKERJAAN_ORTU','NM_PEKERJAAN_ORTU');
            $crud->display_as('KD_PEKERJAAN_ORTU','Kode')
                        ->display_as('NM_PEKERJAAN_ORTU','Nama Pekerjaan Orang Tua');
            $output= $crud->render();
            $this->_example_output($output);
        }
    
    function pembayaran_siswa()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_pembayaran_siswa');
            $crud->set_subject('Pembayaran Siswa');
            $crud->columns('ID_PEMBAYARAN_SISWA','NM_PEMBAYARAN_SISWA','USERNAME','TANGGAL_AKSES');
            $crud->set_relation('USERNAME','__auth','USERNAME');
            $crud->display_as('ID_PEMBAYARAN_SISWA','Id')
                    ->display_as('NM_PEMBAYARAN_SISWA','Nama Pembayaran Siswa');
            $output= $crud->render();
            $this->_example_output($output);
        }
    
    function penataran()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_penataran');
            $crud->set_subject('Penataran');
            $crud->columns('ID_PENATARAN','NM_PENATARAN','KD_JENIS_KETENAGAAN','USERNAME','TANGGAL_AKSES');
            $crud->set_relation('USERNAME','__auth','USERNAME');
            $crud->set_relation('KD_JENIS_KETENAGAAN','r_jenis_ketenagaan','NM_JENIS_KETENAGAAN');
            $crud->display_as('ID_PENATARAN','Id')
                    ->display_as('NM_PENATARAN','Nama Penataran')
                    ->display_as('KD_JENIS_KETENAGAAN','Jenis Ketenagaan');
            $output= $crud->render();
            $this->_example_output($output);
        }
        
    function penerbit()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_penerbit');
            $crud->set_subject('Penerbit');
            $crud->columns('ID_PENERBIT','KD_PENERBIT','NM_PENERBIT','USERNAME','TANGGAL_AKSES');
            $crud->set_relation('USERNAME','__auth','USERNAME');
            $crud->display_as('ID_PENERBIT','Id')
                    ->display_as('KD_PENERBIT','Kode Penerbit')
                    ->display_as('NM_PENERBIT','Nama Penerbit')
                    ->display_as('USERNAME','Username')
                    ->display_as('TANGGAL_AKSES','Tanggal AKses');
            $output= $crud->render();
            $this->_example_output($output);
        }
        
    function pengarang()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_pengarang');
            $crud->set_subject('Pengarang');
            $crud->columns('KD_PENGARANG','ID_TIPE_PENGARANG','NM_PENGARANG','USERNAME','TANGGAL_AKSES');
            $crud->set_relation('ID_TIPE_PENGARANG','r_tipe_pengarang','NM_TIPE_PENGARANG');
            $crud->set_relation('USERNAME','__auth','USERNAME');
            $crud->display_as('KD_PENGARANG','Kode Pengarang')
                    ->display_as('ID_TIPE_PENGARANG','Tipe Pengarang')
                    ->display_as('NM_PENGARANG','NAMA Pengarang')
                    ->display_as('USERNAME','Username')
                    ->display_as('TANGGAL_AKSES','Tanggal AKses');
            $output= $crud->render();
            $this->_example_output($output);
        }
        
    function penggunaan_tanah()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_penggunaan_tanah');
            $crud->set_subject('Penggunaan Tanah');
            $crud->columns('KD_PENGGUNAAN_TANAH','NM_PENGGUNAAN_TANAH','SLTP','PMU','PMK');            
            $crud->display_as('KD_PENGGUNAAN_TANAH','Kode')
                    ->display_as('NM_PENGGUNAAN_TANAH','Nama Penggunaan Tanah');
            $output= $crud->render();
            $this->_example_output($output);
        }
        
    function penyakit()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_penyakit');
            $crud->set_subject('Penyakit');
            $crud->columns('ID_PENYAKIT','NM_PENYAKIT','USERNAME','TANGGAL_AKSES');            
            $crud->set_relation('USERNAME','__auth','USERNAME');
            $crud->display_as('ID_PENYAKIT','Id')
                    ->display_as('NM_PENYAKIT','Nama Penyakit');
            $output= $crud->render();
            $this->_example_output($output);
        }
    
    function penyedia()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_penyedia');
            $crud->set_subject('Penyedia');
            $crud->columns('KD_PENYEDIA','NM_PENYEDIA','ALAMAT_PENYEDIA','KD_POS_PENYEDIA','NO_TELP_PENYEDIA','NO_FAX_PENYEDIA','KONTAK_PENYEDIA','EMAIL_PENYEDIA');            
            $crud->display_as('KD_PENYEDIA','Kode Penyedia')
                    ->display_as('NM_PENYEDIA','Nama Penyedia')
                    ->display_as('ALAMAT_PENYEDIA','Alamat Penyedia')
                    ->display_as('KD_POS_PENYEDIA','Kode Pos')
                    ->display_as('NO_TELP_PENYEDIA','No Telp')
                    ->display_as('NO_FAX_PENYEDIA','No Fax')
                    ->display_as('KONTAK_PENYEDIA','Kontak Penyedia')
                    ->display_as('EMAIL_PENYEDIA','Email');
            $output= $crud->render();
            $this->_example_output($output);
        }
    
    function penyelenggara_penataran()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_penyelenggara_penataran');
            $crud->set_subject('Penyelenggara Penataran');
            $crud->columns('KD_PENYELENGGARA_PENATARAN','NM_PENYELENGGARA_PENATARAN','SLTP','PMU','PMK');            
            $crud->display_as('KD_PENYELENGGARA_PENATARAN','Kode')
                    ->display_as('NM_PENYELENGGARA_PENATARAN','Nama Penyelenggara Penataran');
            $output= $crud->render();
            $this->_example_output($output);
        }
        
    function periode_belajar()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_periode_belajar');
            $crud->set_subject('Periode Belajar');
            $crud->columns('KD_PERIODE_BELAJAR','NM_PERIODE_BELAJAR','STATUS_AKTIF');            
            $crud->display_as('KD_PERIODE_BELAJAR','Kode')
                    ->display_as('NM_PERIODE_BELAJAR','NAMA PERIODE BELAJAR')
                    ->display_as('STATUS_AKTIF','Status AKtif');
            $output= $crud->render();
            $this->_example_output($output);
        }
    
    function perlengkapan_sekolah()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_perlengkapan_sekolah');
            $crud->set_subject('Perlengkapan Sekolah');
            $crud->columns('KD_PERLENGKAPAN_SEKOLAH','NM_PERLENGKAPAN_SEKOLAH','SLTP','PMU','PMK','KD_PENDATAAN');            
            $crud->display_as('KD_PERLENGKAPAN_SEKOLAH','Kode')
                    ->display_as('NM_PERLENGKAPAN_SEKOLAH','Nama Perlengkapan Sekolah')
                    ->display_as('KD_PENDATAAN','Kode Pendataan');
            $output= $crud->render();
            $this->_example_output($output);
        }
    
    function program_matpel()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_program_matpel');
            $crud->set_subject('Program Matpel');
            $crud->columns('KD_PROGRAM_PENGAJARAN','KD_MATA_PELAJARAN_DIAJARKAN','USERNAME','TANGGAL_AKSES');
            $crud->set_relation('KD_PROGRAM_PENGAJARAN','r_program_pengajaran','NM_PROGRAM_PENGAJARAN');
            $crud->set_relation('KD_MATA_PELAJARAN_DIAJARKAN','r_mata_pelajaran_diajarkan','NM_MATA_PELAJARAN_DIAJARKAN');
            $crud->set_relation('USERNAME','__auth','USERNAME');
            $crud->display_as('KD_PROGRAM_PENGAJARAN','Program Pengajaran')
                    ->display_as('NM_MATA_PELAJARAN_DIAJARKAN','Mata Pelajaran Diajarkan')
                    ->display_as('USERNAME','Username')
                    ->display_as('TANGGAL_AKSES','Tanggal Akses');
            $output= $crud->render();
            $this->_example_output($output);
        }
        
    function program_pengajaran()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_program_pengajaran');
            $crud->set_subject('Program Pengajaran');
            $crud->columns('KD_PROGRAM_PENGAJARAN','NM_PROGRAM_PENGAJARAN','SLTP','PMU','PMK');            
            $crud->display_as('KD_PROGRAM_PENGAJARAN','Kode')
                    ->display_as('NM_PROGRAM_PENGAJARAN','Nama Program Pengajaran');
            $output= $crud->render();
            $this->_example_output($output);
        }
        
    function program_studi()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_program_studi');
            $crud->set_subject('Program Studi');
            $crud->columns('KD_PROGRAM_STUDI','KD_KEL_PROGRAM_STUDI','NM_PROGRAM_STUDI','SLTP','PMU','PMK');
            $crud->set_relation('KD_KEL_PROGRAM_STUDI','r_kel_program_studi','NM_KEL_PROGRAM_STUDI');
            $crud->display_as('KD_PROGRAM_STUDI','Kode')
                    ->display_as('KD_KEL_PROGRAM_STUDI','Kelompok Program Studi')
                    ->display_as('NM_PROGRAM_STUDI','Nama Program Studi');
            $output= $crud->render();
            $this->_example_output($output);
        }
    
    function propinsi()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_propinsi');
            $crud->set_subject('Propinsi');
            $crud->columns('ID_PROPINSI','KD_PROPINSI','NM_PROPINSI','KD_PROPINSI_DIKNAS','KD_PROPINSI_BPS','KD_WILAYAH','TAHUN_AWAL','TAHUN_AKHIR','TANGGAL','STATUS_PILIH');            
            $crud->display_as('ID_PROPINSI','id')
                    ->display_as('KD_PROPINSI','Kode Propinsi')
                    ->display_as('NM_PROPINSI','Nama Propinsi')
                    ->display_as('KD_PROPINSI_DIKNAS','Kode Propinsi DIKNAS')
                    ->display_as('KD_PROPINSI_BPS','Kode Propinsi BPS')
                    ->display_as('KD_WILAYAH','Kode Wilayah')
                    ->display_as('TAHUN_AWAL','Tahun Awal')
                    ->display_as('TAHUN_AKHIR','Tahun Akhir')
                    ->display_as('TANGGAL','Tanggal')
                    ->display_as('STATUS_PILIH','Status Pilih');
            $output= $crud->render();
            $this->_example_output($output);
        }
        
    function ranah_penilaian()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_ranah_penilaian');
            $crud->set_subject('Ranah Penilaian');
            $crud->columns('KD_RANAH_PENILAIAN','NM_RANAH_PENILAIAN');            
            $crud->display_as('KD_RANAH_PENILAIAN','Kode Ranah Penilaian')
                    ->display_as('NM_RANAH_PENILAIAN','Nama Ranah Penilaian');
            $output= $crud->render();
            $this->_example_output($output);
        }
    
    function ruang()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_ruang');
            $crud->set_subject('Ruang');
            $crud->columns('KD_RUANG','NM_RUANG','SLTP','PMU','PMK','KD_PENDATAAN');            
            $crud->display_as('KD_RUANG','Kode Ruang')
                    ->display_as('NM_RUANG','Nama Ruang')
                    ->display_as('KD_PENDATAAN','Kode Pendataan');
            $output= $crud->render();
            $this->_example_output($output);
        }
    
    function sanksi()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_sanksi');
            $crud->set_subject('Sanksi');
            $crud->columns('ID_SANKSI','NM_SANKSI','USERNAME','TANGGAL_AKSES');
            $crud->set_relation('USERNAME','__auth','USERNAME');
            $crud->display_as('ID_SANKSI','Id Sanksi')
                    ->display_as('NM_SANKSI','Nama Sanksi')
                    ->display_as('USERNAME','Username')
                    ->display_as('TANGGAL_AKSES','Tanggal Akses');
            $output= $crud->render();
            $this->_example_output($output);
        }
        
    function sekolah_setingkat()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_sekolah_setingkat');
            $crud->set_subject('Sekolah Setingkat');
            $crud->columns('ASAL_SMK','KD_JENIS_SEKOLAH','KD_STATUS_SEKOLAH','NM_SEKOLAH','ALAMAT_SEKOLAH','ID_PROPINSI','ID_KABUPATEN','ID_KECAMATAN','NO_TELP','USERNAME','TANGGAL_AKSES');
            $crud->set_relation('KD_JENIS_SEKOLAH','r_jenis_sekolah','NM_JENIS_SEKOLAH');
            $crud->set_relation('ID_PROPINSI','r_propinsi','NM_PROPINSI');
            $crud->set_relation('ID_KABUPATEN','r_kabupaten','NM_KABUPATEN');
            $crud->set_relation('ID_KECAMATAN','r_kecamatan','NM_KECAMATAN');
            $crud->set_relation('USERNAME','__auth','USERNAME');
            $crud->display_as('ASAL_SMA','Asal SMA')
                    ->display_as('KD_JENIS_SEKOLAH','Jenis Sekolah')
                    ->display_as('KD_STATUS_SEKOLAH','Status Sekolah')
                    ->display_as('NM_SEKOLAH','Nama Sekolah')
                    ->display_as('ALAMAT_SEKOLAH','Alamat Sekolah')
                    ->display_as('ID_PROPINSI','Propinsi')
                    ->display_as('ID_KABUPATEN','Kabupaten')
                    ->display_as('ID_KECAMATAN','Kecamatan')
                    ->display_as('NO_TELP','No Telp')
                    ->display_as('USERNAME','Username')
                    ->display_as('TANGGAL_AKSES','Tanggal Akses');
            $output= $crud->render();
            $this->_example_output($output);
        }
        
    function sertifikat()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_sertifikat');
            $crud->set_subject('Sertifikat');
            $crud->columns('KD_SERTIFIKAT','NM_SERTIFIKAT');
            $crud->display_as('KD_SERTIFIKAT','Kode Sertifikat')
                    ->display_as('NM_SERTIFIKAT','Nama Sertifikat');
            $output= $crud->render();
            $this->_example_output($output);
        }
    
    function status_dlm_keluarga()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_status_dalam_keluarga');
            $crud->set_subject('Status Dalam Keluarga');
            $crud->columns('KD_STATUS_DALAM_KELUARGA','NM_STATUS_DALAM_KELUARGA');
            $crud->display_as('KD_STATUS_DALAM_KELUARGA','Kode')                    
                    ->display_as('NM_STATUS_DALAM_KELUARGA','Status Dalam Keluarga');
            $output= $crud->render();
            $this->_example_output($output);
        }
        
    function status_kepegawaian()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_kepegawaian');
            $crud->set_subject('Status Kepegawaian');
            $crud->columns('KD_STATUS_KEPEGAWAIAN','NM_STATUS_KEPEGAWAIAN','SLTP','PMU','PMK');
            $crud->display_as('KD_STATUS_KEPEGAWAIAN','Kode')                    
                    ->display_as('NM_STATUS_KEPEGAWAIAN','Status Kepegawaian');
            $output= $crud->render();
            $this->_example_output($output);
        }
        
    function status_pegawai()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_status_pegawai');
            $crud->set_subject('Status Pegawai');
            $crud->columns('KD_STATUS_PEGAWAI','NM_STATUS_PEGAWAI','SLTP','PMU','PMK');
            $crud->display_as('KD_STATUS_PEGAWAI','Kode')                    
                    ->display_as('NM_STATUS_PEGAWAI','Status PEGAWAI');
            $output= $crud->render();
            $this->_example_output($output);
        }
    
    function sumber_bahan_alat()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_sumber_bahan_alat');
            $crud->set_subject('Sumber Hahan Alat');
            $crud->columns('ID_SBA','DESKRIPSI','JENIS_SBA','USERNAME','TANGGAL_AKSES');
            $crud->display_as('ID_SBA','Id')                    
                    ->display_as('DESKRIPSI','Deskripsi')
                    ->display_as('JENIS_SBA','Jenis SBA')
                    ->display_as('USERNAME','Username')
                    ->display_as('TANGGAL_AKSES','Tanggal Akses');
            $output= $crud->render();
            $this->_example_output($output);
        }
        
    function sumber_listrik()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_sumber_listrik');
            $crud->set_subject('Sumber Listrik');
            $crud->columns('KD_SUMBER_LISTRIK','NM_SUMBER_LISTRIK','SLTP','PMU','PMK');
            $crud->display_as('KD_SUMBER_LISTRIK','Kode')                    
                    ->display_as('NM_SUMBER_LISTRIK','Sumber Listrik');
            $output= $crud->render();
            $this->_example_output($output);
        }
    
    function tahun_ajaran()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_tahun_ajaran');
            $crud->set_subject('Tahun Ajaran');
            $crud->columns('KD_TAHUN_AJARAN','NM_TAHUN_AJARAN','SLTP','PMU','PMK');
            $crud->display_as('KD_TAHUN_AJARAN','Kode Tahun Ajaran')                    
                    ->display_as('NM_TAHUN_AJARAN','TAHUN_AJARAN');
            $output= $crud->render();
            $this->_example_output($output);
        }
    
    function tempat_terbit()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_tempat_terbit');
            $crud->set_subject('Tempat Terbit');
            $crud->columns('KD_TEMPAT_TERBIT','ID_TEMPAT_TERBIT','NAMA_TEMPAT_TERBIT','USERNAME','TANGGAL_AKSES');
            $crud->set_relation('USERNAME','__auth','USERNAME');
            $crud->display_as('KD_TEMPAT_TERBIT','Kode')
                    ->display_as('ID_TEMPAT_TERBIT','Id')                    
                    ->display_as('NM_TEMPAT_TERBIT','Tempat Terbit')
                    ->display_as('USERNAME','Username')
                    ->display_as('TANGGAL_AKSES','Tanggal Akses');
            $output= $crud->render();
            $this->_example_output($output);
        }
        
    function tenaga_administrasi()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_tenaga_administrasi');
            $crud->set_subject('Tenaga Administrasi');
            $crud->columns('KD_TENAGA_ADMINISTRASI','NM_TENAGA_ADMINISTRASI','SLTP','PMU','PMK');
            $crud->display_as('KD_TENAGA_ADMINISTRASI','Kode')                    
                    ->display_as('NM_TENAGA_ADMINISTRASI','Nama Tenaga Administrasi');
            $output= $crud->render();
            $this->_example_output($output);
        }
        
    function tingkat_ijazah()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_tingkat_ijazah');
            $crud->set_subject('Tingkat Ijazah');
            $crud->columns('KD_TINGKAT_IJAZAH','NM_TINGKAT_IJAZAH','SLTP','PMU','PMK','KD_PENDATAAN');
            $crud->display_as('KD_TINGKAT_IJAZAH','Kode')                    
                    ->display_as('NM_TINGKAT_IJAZAH','Tingkat Ijazah')
                    ->display_as('KD_PENDATAAN','Kode Pendataan');
            $output= $crud->render();
            $this->_example_output($output);
        }
    
    function tingkat_kelas()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_tingkat_kelas');
            $crud->set_subject('Tingkat Kelas');
            $crud->columns('KD_TINGKAT_KELAS','NM_TINGKAT_KELAS');
            $crud->display_as('KD_TINGKAT_KELAS','Kode Tingkat Kelas')                    
                    ->display_as('NM_TINGKAT_KELAS','Tingkat Kelas');
            $output= $crud->render();
            $this->_example_output($output);
        }
        
    function tipe_pengarang()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_tipe_pengarang');
            $crud->set_subject('Tipe Pengarang');
            $crud->columns('ID_TIPE_PENGARANG','NM_TIPE_PENGARANG');
            $crud->display_as('ID_TIPE_PENGARANG','Id')                    
                    ->display_as('NM_TIPE_PENGARANG','Tipe Pengarang');
            $output= $crud->render();
            $this->_example_output($output);
        }
        
    function tipe_topik()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_tipe_topik');
            $crud->set_subject('Tipe Topik');
            $crud->columns('KD_TIPE_TOPIK','NM_TIPE_TOPIK');
            $crud->display_as('KD_TIPE_TOPIK','Kode')                    
                    ->display_as('NM_TIPE_TOPIK','Tipe Topik');
            $output= $crud->render();
            $this->_example_output($output);
        }
        
    function topik()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_topik');
            $crud->set_subject('Topik');
            $crud->columns('KD_TOPIK','NM_TOPIK','KD_TIPE_TOPIK');
            $crud->set_relation('KD_TIPE_TOPIK','r_tipe_topik','NM_TIPE_TOPIK');
            $crud->display_as('KD_TOPIK','Kode Topik')                    
                    ->display_as('NM_TOPIK','Topik')
                    ->display_as('KD_TIPE_TOPIK','Tipe Topik');
            $output= $crud->render();
            $this->_example_output($output);
        }
        
    function user_perpus()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_user_perpustakaan');
            $crud->set_subject('User Perpustakaan');
            $crud->columns('ID_USER','KATA_KUNCI','JENIS_USER','IS_EXPIRE','TGL_PENDAFTARAN','TGL_EXPIRE');
            $crud->display_as('ID_USER','Id')                    
                    ->display_as('KATA_KUNCI','Password')
                    ->display_as('JENIS_USER','Jenis User')
                    ->display_as('IS_EXPIRE','Kadaluarsa')
                    ->display_as('TGL_PENDAFTARAN','Tanggal Pendaftaran')
                    ->display_as('TGL_EXPIRE','Tanggal Kadaluarsa');
            $output= $crud->render();
            $this->_example_output($output);
        }
        
    function  voltase()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_voltase');
            $crud->set_subject('Voltase');
            $crud->columns('KD_VOLTASE','NM_VOLTASE','SLTP','PMU','PMK');
            $crud->display_as('KD_VOLTASE','Kode')                    
                    ->display_as('NM_VOLTASE','Voltase');
            $output= $crud->render();
            $this->_example_output($output);
        }
        
    function waktu_penyelenggaraan()
        {
            $crud = new grocery_CRUD();
            $crud->set_table('r_waktu_penyelenggaraan');
            $crud->set_subject('Waktu Penyelenggaraan');
            $crud->columns('KD_WAKTU_PENYELENGGARAAN','NM_WAKTU_PENYELENGGARAAN','SLTP','PMU','PMK');
            $crud->display_as('KD_WAKTU_PENYELENGGARAAN','Kode')                    
                    ->display_as('NM_WAKTU_PENYELENGGARAAN','Waktu Penyelenggaraan');
            $output= $crud->render();
            $this->_example_output($output);
        }
}